<template>
  <div class="classifyxq">
    <my-header>
      <template #left>
        <van-icon name="arrow-left" @click="$router.back()" />
      </template>
      <template #center> 分类商品 </template>
    </my-header>
  </div>
</template>

<script>
import { ref, reactive, toRefs } from "vue";
import myHeader from "../../components/myHeader.vue";
import { useRoute } from 'vue-router';
export default {
  components: { myHeader },
  setup() {
    const { params } = useRoute();
    console.log(params.id);
  },
};
</script>
<style lang="scss" scoped>
.classifyxq {
  height: 100%;
}
</style>